package com.wifi.game.entity;

public class GameEntity {
    private  Integer gid;
    private String name;
    private String title; // 标题
    private int downloadCount; //下载次数
    private float size;
    private  String des; // 游戏描述
    private   String gameIcon; //游戏图标
    private   String iosUrl;
    private   String androidUrl;
    private   String pictures;
    private   int status; //状态（1启用，0下线）
    private   String type;
    private  Integer recType; //推荐类型：1普通，2最新，3精选，4首页推荐
    private Integer platform;  //平台类型：1all 2android 3ios


    public GameEntity( String name, String title, int downloadCount, float size, String des, String gameIcon, String iosUrl, String androidUrl, String pictures, int status, String type, Integer recType, Integer platform) {

        this.name = name;
        this.title = title;
        this.downloadCount = downloadCount;
        this.size = size;
        this.des = des;
        this.gameIcon = gameIcon;
        this.iosUrl = iosUrl;
        this.androidUrl = androidUrl;
        this.pictures = pictures;
        this.status = status;
        this.type = type;
        this.recType = recType;
        this.platform = platform;
    }

    @Override
    public String toString() {
        return "GameEntity{" +
                "gid=" + gid +
                ", name='" + name + '\'' +
                ", title='" + title + '\'' +
                ", downloadCount=" + downloadCount +
                ", size=" + size +
                ", des='" + des + '\'' +
                ", gameIcon='" + gameIcon + '\'' +
                ", iosUrl='" + iosUrl + '\'' +
                ", androidUrl='" + androidUrl + '\'' +
                ", pictures='" + pictures + '\'' +
                ", status=" + status +
                ", type='" + type + '\'' +
                ", recType=" + recType +
                ", platform=" + platform +
                '}';
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(int downloadCount) {
        this.downloadCount = downloadCount;
    }

    public float getSize() {
        return size;
    }

    public void setSize(float size) {
        this.size = size;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getGameIcon() {
        return gameIcon;
    }

    public void setGameIcon(String gameIcon) {
        this.gameIcon = gameIcon;
    }

    public String getIosUrl() {
        return iosUrl;
    }

    public void setIosUrl(String iosUrl) {
        this.iosUrl = iosUrl;
    }

    public String getAndroidUrl() {
        return androidUrl;
    }

    public void setAndroidUrl(String androidUrl) {
        this.androidUrl = androidUrl;
    }

    public String getPictures() {
        return pictures;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getRecType() {
        return recType;
    }

    public void setRecType(Integer recType) {
        this.recType = recType;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public GameEntity() {
    }

}
